package com.mt.mtyx.common.utils.generate.generate.code;

import com.mt.mtyx.common.utils.generate.generate.config.*;
import com.mt.mtyx.common.utils.generate.generate.table.FieldData;
import com.mt.mtyx.common.utils.generate.generate.table.TableData;
import java.util.List;
import java.util.Map;

/**
 * @author WMT
 * @Date 2023/5/26 17:27
 */
public class GenerateStandard {

    private String tableSchema;

    private String tableName;

    private String baseName;

    private TableData tableData;

    private String comment;

    private GlobalCodeConfig global;

    private List<OtherCodeConfig> other;

    private PackingCodeConfig packing;

    private EntityCodeConfig entity;

    private MapperCodeConfig mapper;

    private ServiceCodeConfig service;

    private ControllerCodeConfig controller;

    private Map<String, String> template;

    private List<FieldData> fields;

    private List<String> fieldsName;

    private Map<String, String> fileMap;

    public String getTableSchema() {
        return tableSchema;
    }

    public void setTableSchema(String tableSchema) {
        this.tableSchema = tableSchema;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getBaseName() {
        return baseName;
    }

    public void setBaseName(String baseName) {
        this.baseName = baseName;
    }

    public TableData getTableData() {
        return tableData;
    }

    public void setTableData(TableData tableData) {
        this.tableData = tableData;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public GlobalCodeConfig getGlobal() {
        return global;
    }

    public void setGlobal(GlobalCodeConfig global) {
        this.global = global;
    }

    public List<OtherCodeConfig> getOther() {
        return other;
    }

    public void setOther(List<OtherCodeConfig> other) {
        this.other = other;
    }

    public PackingCodeConfig getPacking() {
        return packing;
    }

    public void setPacking(PackingCodeConfig packing) {
        this.packing = packing;
    }

    public EntityCodeConfig getEntity() {
        return entity;
    }

    public void setEntity(EntityCodeConfig entity) {
        this.entity = entity;
    }

    public MapperCodeConfig getMapper() {
        return mapper;
    }

    public void setMapper(MapperCodeConfig mapper) {
        this.mapper = mapper;
    }

    public ServiceCodeConfig getService() {
        return service;
    }

    public void setService(ServiceCodeConfig service) {
        this.service = service;
    }

    public ControllerCodeConfig getController() {
        return controller;
    }

    public void setController(ControllerCodeConfig controller) {
        this.controller = controller;
    }

    public Map<String, String> getTemplate() {
        return template;
    }

    public void setTemplate(Map<String, String> template) {
        this.template = template;
    }

    public List<FieldData> getFields() {
        return fields;
    }

    public void setFields(List<FieldData> fields) {
        this.fields = fields;
    }

    public List<String> getFieldsName() {
        return fieldsName;
    }

    public void setFieldsName(List<String> fieldsName) {
        this.fieldsName = fieldsName;
    }

    public Map<String, String> getFileMap() {
        return fileMap;
    }

    public void setFileMap(Map<String, String> fileMap) {
        this.fileMap = fileMap;
    }
}
